;(function($){
var oButton	= $('#select_file');
var oInput	= $('#select_file + input');

oInput.change(function(){
	var filePath = $(this).val();
	if(filePath.match(/fakepath/)) {
		filePath = filePath.replace(/C:\\fakepath\\/i, '');
	}
	oButton.find(" > span").text( filePath );
});
oButton.click(function() {
	$('#select_file + input').trigger("click");	
});	
	
})(jQuery);